home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 6
/
CU Amiga Magazine's Super CD-ROM 06 (1996)(EMAP Images)(GB)(Track 1 of 4)[!][issue 1997-01].iso
/
cucd
/
readers
/
utils
/
gui4cli
/
demos
/
demo.g
< prev
next >
Wrap
Text File
|
1996-10-28
|
3KB
|
160 lines
G4C
; This is the main Demo file, where the demo programs are set out and you
; can choose which one you want to run.
WinBig -1 -1 290 155 "Demos for Gui4Cli"
WinType 11110001
WinSmall 0 -1 253 116
;UseTopaz
WinBackground ICON GUIs:info/Bgnds/Bgnd1 0 ; Icon background
BOX 0 0 0 0 IN ICONDROP ; a window sized box
CText 15 11 "Scripts" DEFAULT 8 2 3 000 ; NEW mask argument!
CText 100 11 "Programs Needed" DEFAULT 8 2 3 000
CText 15 115 "ARexx based scripts" DEFAULT 8 2 3 000
xOnRMB
Status
xOnLoad
GuiOpen demo.g
GuiLoad GUIs:Demos/wait.g
guiload guis:G4C/Rtn/Routines.g
xAPPICON 0 0 guis:Demos/calc.gc DEMO.g dem_icon OFF
GadID 10
if $dem_icon > " "
setvar rtn_var $dem_icon
setvar dem_icon ""
gosub routines.g ViewFile
else
GuiOpen demo.g
endif
xONOPEN
SetGad demo.g 10 OFF
xONCLOSE
SetGad demo.g 10 ON
;----------------> Calculator
xButton 10 15 80 14 "Calc"
Update demo.g 1 "Loading..."
GuiLoad GUIs:Demos/calc.gc
GuiOpen calc.gc
Update demo.g 1 "c:Eval command"
TEXT 100 15 150 14 "c:Eval command" 20 NOBOX
GadID 1
xButton 240 15 40 14 "Info"
SetVar dglvfile GUIs:Demos/Calc.gc
Guiload guis:demos/lister.g
;----------------> MultiMedia
xButton 10 30 80 14 "MMedia"
Update demo.g 2 "Loading..."
GuiLoad GUIs:Demos/MMedia.gc
Update demo.g 2 "See info ->"
GuiOpen MMedia.gc
TEXT 100 30 150 14 "See info ->" 50 NOBOX
GadID 2
xButton 240 30 40 14 "Info"
SetVar dglvfile GUIs:Demos/MMedia.gc
Guiload guis:demos/lister.g
;----------------> Lock
xButton 10 45 80 14 "Lock"
Update demo.g 3 "Loading..."
GuiLoad GUIs:Demos/Lock.gc
Update demo.g 3 "None"
TEXT 100 45 150 14 "None" 20 NOBOX
GadID 3
xButton 240 45 40 14 "Info"
SetVar dglvfile GUIs:Demos/Lock.gc
Guiload guis:demos/lister.g
;----------------> Gui4Cli
xButton 10 60 80 14 "Cli Gui"
Update demo.g 4 "Loading..."
GuiLoad GUIs:Demos/Cli.gc
GuiOpen cli.gc
Update demo.g 4 "None"
TEXT 100 60 150 14 "None" 20 NOBOX
GadID 4
xButton 240 60 40 14 "Info"
SetVar dglvfile GUIs:Demos/Cli.gc
Guiload guis:demos/lister.g
;----------------> TextFile Reader
xButton 10 75 80 14 "Reader"
Update demo.g 5 "Loading..."
GuiLoad GUIs:Demos/read.gc
Update demo.g 5 "None"
TEXT 100 75 150 14 "None" 20 NOBOX
GadID 5
xButton 240 75 40 14 "Info"
SetVar dglvfile GUIs:Demos/read.gc
Guiload guis:demos/lister.g
;----------------> LHA pack/unpack
xButton 10 90 80 14 "LhA"
Update demo.g 5 "Loading..."
GuiLoad GUIs:Demos/LHA.gc
Update demo.g 8 "c:LhA"
TEXT 100 90 150 14 "c:LhA" 20 NOBOX
GadID 8
xButton 240 90 40 14 "Info"
SetVar dglvfile GUIs:Demos/LHA.gc
Guiload guis:demos/lister.g
;----------------> CedBar
xButton 10 120 80 14 "Ced Bar"
Update demo.g 6 "Loading..."
GuiLoad GUIs:Demos/CED/CedBar.gc
Update demo.g 6 "c:Ced (CygnusEd)"
TEXT 100 120 150 14 "c:Ced (CygnusEd)" 20 NOBOX
GadID 6
xButton 240 120 40 14 "Info"
SetVar dglvfile GUIs:Demos/CED/CedBar.gc
Guiload guis:demos/lister.g
;----------------> GedBar
xButton 10 135 80 14 "Ged Bar"
Update demo.g 7 "Loading...."
GuiLoad GUIs:Demos/GED/GedBar.gc
Update demo.g 7 "c:Ed (GoldEd)"
TEXT 100 135 150 14 "c:Ed (GoldEd)" 20 NOBOX
GadID 7
xButton 240 135 40 14 "Info"
SetVar dglvfile GUIs:Demos/GED/GedBar.gc
Guiload guis:demos/lister.g